package work1.bank;

public class Test1 {
    public static void main(String[] args) {
        Bank bank=new Bank("小梦",123456,100);
        bank.setbName("工商银行");

        bank.welcome();

        bank.open(bank.getpName(),bank.getPassword(),bank.getAbalance());
        bank.tip();

        bank.deposit(500);
        bank.tip();

        bank.passwords(654321);

        bank.out(12546632);

        bank.out(200);

        bank.unwelcome();
    }
}
